Comments (6)
project can be download at: https://skydrive.live.com/redir.aspx?cid=e3e19b71b35aec68&resid=E3E19B71B35AEC68!116&parid=E3E19B71B35AEC68!106&authkey=!AIEvyjuR3AzbWeA
Please post update and bug fixes...
from livesdk.
Thanks for your feedback! The issue you are facing is around the json body created.
The format expected by the REST Services is as such:-
{
"name": "iWatermark Pro",
"type": "album"
}
Can you try and let me know how it works out.
Thanks
Deepesh
from livesdk.
POST on create albums (debug log):
createAlbum Watermarked by iWatermark Pro
Body: '{
"name": "iWatermark Pro",
"type" : "album"
}'
2012-02-01 22:24:27.032 LiveServicesMacOS[54970:a0f] restUrl https://apis.live.net/v5.0/me/skydrive?access_token=EwA4Aq1DBAAUlb ... 08MAAA%3d%3d
Body: '{
"name": "iWatermark Pro",
"type" : "album"
}'
2012-02-01 22:24:27.032 LiveServicesMacOS[54970:a0f] startPOSTRequest /v5.0/me/skydrive as Type: application/json
body: 46
2012-02-01 22:24:27.707 LiveServicesMacOS[54970:a0f] response: 400 - URL path /v5.0/me/skydrive
Getting:
{
error = {
code = "request_parameter_missing";
message = "The provided request entity body is missing a required parameter 'name'. Required parameters are the following: 'name'.";
};
}
also tried:
Body: '{{
"name": "iWatermark Pro"},
"type" : "album"
}'
same message.
from livesdk.
also BODY is encoded with UTF8 Encoding
from livesdk.
solved it forgot to set
HTTPHeaderField: "Content-Type" to "application/json";
on post.
feedback: error message should include contact type of message sent.
also very useful for playing is:
http://isdk.dev.live.com/
from livesdk.
Latest version...
from livesdk.
Related Issues (13)
- com.microsoft.live.LiveAuthException HOT 2
- Namespace issue(s) with ASP.NET Oauth sample code HOT 1
- No pop up method / get email (PHP) HOT 1
- Time out exception HOT 1
- Sample->PHP->Oauth Invalid redirect_uri HOT 1
- Wrong license. HOT 2
- Doesn't work w/ 8.1 with c# and xaml HOT 1
- Searching OneDrive through SDK returns wrong parent_id HOT 10
- XMPP login gives not-authorized HOT 6
- JsonWebToken sample is not working correctly HOT 3
- Javascript API Doesn't Like Ports other than 80 HOT 1
- Unable to register a Metro-style app HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livesdk.