Snippet API Problem
Closed
Snippet API Problem
Created by: vik0803
Hello,
I have used the following API to update the project snippet. I always receive the httprequest status as 200 when I execute the PUT request but I dont see any changes in the SNIPPET.
Below are the detailed parameter:
PUT httprequest is created and submitted to http://www.example.com/projects/:id/snippets/:snippet_id??private_token=abcdefgh123456789
And Parameters are as follow: {["id":1,"snippet_id": "1","title":"Testing snippet with JS", "file_name": "gilabsnippet.js", "code":"javascript program"]}
I have tried both the ways including and excluding the code parameter but still I have a problem whereas I receive the Status as 200.
Appreciate your help.
Thanks, Vik
Please register or sign in to reply