Well for video and a couple of other features I am trying to create a parallel post API which uses Content-Type": "application/json instead of Content-Type": "application/x-www-form-urlencoded but with little luck till now. Their web version uses Content-Type": "application/json for all requests so it should be feasible.
To explain the case bit more, media[photo]=some_photo_url is concatenated in photo case but for video case it needs a higher hierarchy ie media[video][details][location]=some_video_url.I don't know how to encode that in application/x-www-form-urlencoded(above multiple indexing as demonstrated doesn't work)
I will keep the action of this issue on myself, if anyone has idea feel free to discuss.
I will use the issue as my status book to keep anyone updated if interested and also to help me track my progress.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Well for video and a couple of other features I am trying to create a parallel post API which uses
Content-Type": "application/jsoninstead ofContent-Type": "application/x-www-form-urlencodedbut with little luck till now. Their web version usesContent-Type": "application/jsonfor all requests so it should be feasible.To explain the case bit more,
media[photo]=some_photo_urlis concatenated in photo case but for video case it needs a higher hierarchy iemedia[video][details][location]=some_video_url.I don't know how to encode that inapplication/x-www-form-urlencoded(above multiple indexing as demonstrated doesn't work)I will keep the action of this issue on myself, if anyone has idea feel free to discuss.
I will use the issue as my status book to keep anyone updated if interested and also to help me track my progress.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.