• Resolved b17879

    (@b17879)


    hello!
    In order to receive my json results from the a external api, I must send a raw json payload.

    Please, check the code bellow
    I tried this code bellow, bit it did not work.

    [jsoncontentimporter url=”‘https://www.googleapis.com/qpxExpress/v1/trips/search?fields=trips%2Fdata&key=AIzaSyBskvgJdk5S8CDijQjuVgNb9COiDAoHT7w’ ‘content-type: application/json’
    ‘{
    ‘request’: {
    ‘passengers’: {
    ‘adultCount’: 1,
    ‘childCount’: 0
    },
    ‘slice’: [
    {
    ‘origin’: ‘GRU’,
    ‘destination’: ‘CNF’,
    ‘date’: ‘2017-05-01’,
    ‘maxStops’: 0
    }
    ],
    ‘solutions’: 1
    }
    }'” numberofdisplayeditems=”30″ basenode=”trips”]

    [/jsoncontentimporter]

    I need something similar to it in order to work
    The Google api does not accept “application/x-www-form-urlencoded”

    regards,
    Joao Heringer

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘application/jason’ is closed to new replies.