OAuth from VFP
Hi All I am still pluging away at this and making steady progress. I have now got my access token and secret and can successfully make queries against the API endpoint using Postman. https://www.mywebsite.com/api/rest/products?page=1 I can make the same request from VFP and if I sign the request using PLAINTEXT then it works no problem. If I attempt to sign it using HMAC-SHA1 then I get the following error ... {"messages":{"error":[{"code":401,"message":"oauth_problem=signature_invalid"}]}} I have used the same VFP code borrowed from the OAuth project on VFPX github to get as far as the access token so I am happy that the signing code works so I think it must be something I am either including or excluding from the string that gets signed which is causing the issue. Can anyone spot anything obvious ... GET%3A%2F%2Fwww.mywebsite.com%2Fapi%2Frest%2Fproducts_consumer_key%3Dd5740bb1a40426a34917b58153b5d060_nonce%3D49878452BA6F410EA566452C71B9F4CD_signature_method%3DHMAC-SHA1_timestamp%3D1538408837_token%3D22cad6515e48df11001a14e335477188_version%3D1.0%3D1 Any help appreciated. Thanks Chris. --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cwlp265mb1668bf0cad200aeab7c058fb8f...@cwlp265mb1668.gbrp265.prod.outlook.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
ProFox List Statistics for September 2018
== ProFox List Statistics September 2018 == Subscriber Count at End of Month: ProFox: 290 ProFoxTech: 182 == Total Posts: 178 (Up 13.38% from August 2018) Total [OT] Posts: 0 (Unchanged from August 2018) Total [NF] Posts: 0 (Down 100.0% from August 2018) Daily Message Counts for September 2018 DOW Date Count --- - S 1 - 5 S 2 - 3 M 3 - 1 T 4 - 3 W 5 - 8 T 6 - 35 F 7 - 3 S 8 - 9 S 9 - 1 M10 - 10 T11 - 9 W12 - 1 T13 - 4 F14 - 20 T18 - 8 W19 - 11 T20 - 4 F21 - 15 M24 - 6 T25 - 10 W26 - 7 T27 - 1 F28 - 4 Message Counts By Day of Week for September 2018 DOW Count --- - Sun -4 Mon - 17 Tue - 30 Wed - 27 Thu - 44 Fri - 42 Sat - 14 Distinct Posters to the List (changes relative to August 2018) Non-OT messages: 30 (Down 3.23%) OT messages: 0 (Unchanged) NF messages: 0 (Down 100.0%) Total number: 30 (Down 3.23%) Top 20 Contributors by Number of Non-OT Posts |Posts Contributor | 1. 21mbsoftwaresoluti...@mbsoftwaresolutions.com 2. 15Stephen Russell 3. 14Paul Newton 4. 13Richard Kaye 5. 13Frank Cazabon 6.9Gene Wirchenko 7.9Koen Piller 8.9Ted Roche 9.9Alan Bourke 10.8Rafael Copquin 11.8Chris Davis 12.6Ed Leafe 13.5Dave Crozier 14.5Tracy Pearson 15.3 16.3Fernando D. Bozzo 17.3Malcolm Greene 18.3Christof Wollenhaupt 19.3Kevin J Cully 20.3John Weller Top 0 Contributors by Number of OT Posts |Posts OT% Contributor | Top 0 Contributors by Number of NF Posts |Posts Contributor | Top 20 Contributors by Total Number of Posts |Posts Contributor | 1. 21mbsoftwaresoluti...@mbsoftwaresolutions.com 2. 15Stephen Russell 3. 14Paul Newton 4. 13Richard Kaye 5. 13Frank Cazabon 6.9Gene Wirchenko 7.9Koen Piller 8.9Ted Roche 9.9Alan Bourke 10.8Rafael Copquin 11.8Chris Davis 12.6Ed Leafe 13.5Dave Crozier 14.5Tracy Pearson 15.3 16.3Fernando D. Bozzo 17.3Malcolm Greene 18.3Christof Wollenhaupt 19.3Kevin J Cully 20.3John Weller Top 10 Contributors by Number of New Threads Started |Posts Contributor | 1.6mbsoftwaresoluti...@mbsoftwaresolutions.com 2.3Rafael Copquin 3.2Gene Wirchenko 4.2Richard Kaye 5.1List Administrator Account 6.1Chris Davis 7.1Dave Crozier 8.1Malcolm Greene 9.1Paul Newton 10.1Jürgen Wondzinski Top 20 Non-OT Threads by Total Number of Posts -- |Posts Subject | -- 1. 20Print salary receipts to a pdf image 2. 20ON KEY usage in your apps 3. 192 Excel questions using automation from VFP9SP2 4. 18VFP file types in explorer 5. 16SOAP 6. 13Good old fashioned FTP need from VFP app 7. 12Office 2016 Outlook Problem: Throttled Output 8.9VFP tools for reading image metadata 9.8alter column in sql server 10.6Backup in SQL Server 11.6IMAP via VFP 12.5Problem with VFP's debugger not seeing C# object's properties 13.5VFP FTP Class Upload to Files Section 14.5Questions About Some VFP Data Types 15.4Example of T-SQL exception handling within a transaction? 16.4Reading emails from a VFP app and creating "tickets" based on them 17.3ProFox List Statistics for August 2018 18.3Error with Thor's PEMEditor app 19.1Test One-Two, *tink*