Clicky

  • Welcome to P2P Lending / NFT Lending Forum.
 

ETH.LOAN

News:

This was the original Lend Academy peer-to-peer lending forum, since forensically restored by deBanked and now reintroduced to eth.loan.

To restore access to your user account, email [email protected]. We apologize for errors you may experience during the recovery.

Main Menu
NEW LOANS:   | 804.eth 2.500 Ξ | remoraid.eth 0.299 Ξ | remoraid.eth 0.299 Ξ | ALL

listing API error?

Started by Peter, December 30, 2018, 11:00:00 PM

Previous topic - Next topic

mikedev10

curl -v -i --header "Authorization:Eq9d5t24343243423" --header "Accept:text/plain" --header "Content-Type:text/plain" -XGET https://api.lendingclub.com/api/investor/v1/secondarymarket/listings?updatedSince=10" class="bbc_link" target="_blank">https://api.lendingclub.com/api/investor/v1/secondarymarket/listings?updatedSince=10

if i do this i get a 401 unauthorized, with my fake auth code above; i assume everything else is valid; looks like it to me.  when i put my actual auth code in, i get a 500 internal server error.  am i doing something wrong here?

Fred93


TravelingPennies


liquidp2p_dev

I remember encountering this issue when setting up 2M listing retrieval. Fred93 is correct that changing the Accept header is the key.

NEW LOANS:   | 804.eth 2.500 Ξ | remoraid.eth 0.299 Ξ | remoraid.eth 0.299 Ξ | ALL