user550 Posted February 28, 2013 Share Posted February 28, 2013 Hi could someone tell me how I can make use of this in API php, I want to be able to upload photos. Do I use curl and if so how do I format the fields? I do not understand the way they have explained the API. https://github.com/DumpYourPhoto/API-Documentation https://dumpyourphoto.com/api Quote Link to comment https://forums.phpfreaks.com/topic/275069-dump-your-photo-api/ Share on other sites More sharing options...
trq Posted March 1, 2013 Share Posted March 1, 2013 You want use to explain some third party API better than that third party API's documentation? Not happening. If you don't understand the documentation, pick another API. Quote Link to comment https://forums.phpfreaks.com/topic/275069-dump-your-photo-api/#findComment-1415772 Share on other sites More sharing options...
gizmola Posted March 1, 2013 Share Posted March 1, 2013 user550, on 28 Feb 2013 - 14:27, said: Hi could someone tell me how I can make use of this in API php, I want to be able to upload photos. Do I use curl and if so how do I format the fields? I do not understand the way they have explained the API. https://github.com/DumpYourPhoto/API-Documentation https://dumpyourphoto.com/api We really need specific questions. We can't read your mind, or guess what specifically you're stuck on. Generally speaking, the service provides a RESTful api where you POST for new entries, PUT for updates, and DELETE for removal. You would probably want to use curl, or a library like Guzzle to interact with their service. Quote Link to comment https://forums.phpfreaks.com/topic/275069-dump-your-photo-api/#findComment-1415775 Share on other sites More sharing options...
user550 Posted March 1, 2013 Author Share Posted March 1, 2013 (edited) Sorry it does'nt matter now I asked them and they said they want the path to the image not the actual image. They should have said that in their documentation ! Edited March 1, 2013 by user550 Quote Link to comment https://forums.phpfreaks.com/topic/275069-dump-your-photo-api/#findComment-1415836 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.