How to send location using context

I need to send location of a sensor using gprs module to ubidots cloud platform, I just read the get started section and i successfully sent the a value 6 by typing {"value":"6"} in http body ,but i need to send the location with value ,for that i just took an latitude and longitude example …