#RestParam will make a copy of the memory block.
the memory block can be assumed to always exist for the lifetime of the parameter, #RestParam will use it directly.
#RestParam will take ownership of the memory block, and g_free() it when it isn't used.
#RestParam will make a copy of the memory block.