Oh, actually, I was wrong about this being tough to debug with just the Authorization header :-)
Now that I look closer I see that the content hash is missing from the Hawk parameters. For HTTP requests that have a body, you will need to calculate a content hash and include it as one of the Hawk parameters. See the Hawk spec for an example. S. On Sep 24, 2014, at 5:13 AM, Partha Debnath <[email protected]> wrote: > Hello All, > I am trying to implement FireFox Sync Adapter in C++.I have implemented down > sync of data from FireFox > server and it is working fine.But, while I was trying to upload data into > FIreFox server, I got an error saying > "401 Unauthorized".I have developed all the above mentioned fuctionality by > understanding Mozilla Sync > Adapter for android. > Following are the details of the upsync request : > 1. Header : Authorization:Hawk > id="eyJhbGciOiJSUzI1NiJ9.eyJmeGEtZ2VuZXJhdGlvbiI6MTM5NTY1ODc4NDk0NCwiZnhhLWxhc3RBdXRoQXQiOjE0
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Dev-fxacct mailing list [email protected] https://mail.mozilla.org/listinfo/dev-fxacct

