privateNote | Simple self destructing note site | Privacy library
kandi X-RAY | privateNote Summary
kandi X-RAY | privateNote Summary
Simple, clean self destructing note site!.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of privateNote
privateNote Key Features
privateNote Examples and Code Snippets
Community Discussions
Trending Discussions on privateNote
QUESTION
i have an API "GET" request code i use to get a session key from my crm into excel . i'm trying to re-purpose it to send information to my crm in a "PUT" request but something isnt translating right because i keep getting a "bad request" error when i do ".Open "Put", webServiceURL, False" in the code but i get all the data when i do " .Open "Get", webServiceURL, False"(just doesnt change anything. if anyone is willing to help this amateur code enthusiast i would be very great-full to you. below i included the code i've done so far, it gives me a "bad Request " error.
...ANSWER
Answered 2020-Apr-24 at 13:59I'm afraid this would be very hard to help troubleshoot without knowing the details of the API's method that you are trying to invoke. The error suggests there's something wrong with the JSON you are trying to post. A few potential issues that stand out to me are these:
There seem to be a bunch of
[
,]
,{
,}
characters missing in your JSON. The structure is malformed and therefore invalid JSON, which could definitely cause your error.Your JSON keys should probably be inside double quotes to constitute valid JSON.
QUESTION
I got some help and I wasn't sure if I should continue this in the original question or start a new one since technically it is a new question (I chose new but let me know what you guys prefer for next time).
I figured out how to parse the standard set of information into different columns. I'm having trouble getting the nested arrays to parse. It gives a runtime error 5 when it gets to that part of the code. The array under customfields
needs to be parsed into columns but the estimate lines array contains part/pricing information that needs to be parsed into rows.
Here is the code I've written so far:
...ANSWER
Answered 2020-Feb-05 at 04:44Here is VBA example showing how that data could be parsed. Import JSON.bas and jsonExt.bas modules from VBA JSON parser into the VBA project for JSON processing, and include a reference to "Microsoft Scripting Runtime" (take a look here how to import module and add reference).
QUESTION
so due to the api key giving me issues i have to download json formatted data using vba and not power query. the api response, i would like to parse into a table or use power query to turn into a table.
The code i tried is not working. it gives me.... Runtime error 10001 "Expecting '""' or '''".... i'm sure it has something to do with "JSONConverter" code i downloaded and tried to use.this is the website that helped me figure out the code i wrote http://excelerator.solutions/2017/08/16/import-json-to-excel-using-vba/ .i'm open to scraping it if someone has a better way of doing it. lastly this is a decently big amount of data to put into one cell,do you recommend using a cell or some other way to hold data that will be parced?
this is a sample of the json file
...ANSWER
Answered 2020-Feb-01 at 20:05Not sure what your problem might be.
I modified the last two lines of your JSON example so it would be valid:
and made some minor changes in your posted code.
I also stored the JSON in a file instead of a worksheet cell.
After doing that, the JSON parsed without error.
Note that your code does not put the proper column headings, and overwrites itself. I left that for you to correct.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install privateNote
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page