Skip to content

Creating correct oauth signature with Java #214

@rallyestyle

Description

@rallyestyle

Hi all.

So i am trying to send a POST request to Wordpress using Java in a Processing sketch and am hitting a brick wall with the oauth signature. I have used all sorts of code to create the signature correctly but whatever i do i am getting the dreaded 'json_oauth1_signature_mismatch' error.

I have used Postman to generate the oauth signature and then used it within Processing to send the the POST request and it works fine so im assuming that whatever Java methods i am using to generate the signature with HMAC-SH1 are not producing the same signature that PHP does on the Wordpress side.

Any ideas from anyone? Has anyone actually used Java to successfully make a POST request and if so do they have any working code?

Thanks in advance for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions