Created
June 18, 2020 19:39
-
-
Save brandonburke/585478a2b420f235e22cf9b15183a7d5 to your computer and use it in GitHub Desktop.
Broken Neos Login
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tried the followng query, which was wrong... | |
> response = connection.post( | |
> headers: headers, | |
> path: '/Intakes', | |
> query: { PrimaryStaff: ["9f6c77f2-d1bd-4382-8ad0-ab7b00f80c2b"], FolderType: 0 } | |
> ) | |
=> #<Excon::Response:0x00007fa65dd3ad00 @data={:body=>"{\"Message\":\"Object reference not set to an instance of an object.\"}" | |
Then tried body and convert to json which I’m pretty sure should be correct... | |
> response = connection.post( | |
> headers: headers, | |
> path: '/Intakes', | |
> body: { PrimaryStaff: ["9f6c77f2-d1bd-4382-8ad0-ab7b00f80c2b"], FolderType: 0 }.to_json | |
> ) | |
puts response.body | |
^CTraceback (most recent call last): | |
1: from (irb):125 | |
IRB::Abort (abort then interrupt!) | |
Can no longer log into Neos UI or get another response. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment