User Profile

Collapse

Profile Sidebar

Collapse
fra1983
fra1983
Last Activity: Oct 7 '21, 05:09 AM
Joined: Oct 1 '21
Location: California
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • fra1983
    replied to import data into H2 via API
    thank you thank you thank you ... thank you for all the time you spent on me. you are great
    See more | Go to post

    Leave a comment:


  • fra1983
    replied to import data into H2 via API
    thanks, but it is not correct ... the data that is in json is 2.28 (since it changes every 5 minutes) while the code gives me 0.99 ... I also found this thing ... I do not understand
    See more | Go to post

    Leave a comment:


  • fra1983
    replied to import data into H2 via API
    hello, thanks for the suggestions, but there is something wrong .. I am attaching the complete code ... I don't know who to contact. Thanks for all

    Code:
    <html>
    <body>
    <h2 id="demo"></h2>
    <script>
    
      fetch(`https://****************/collections/t**************1j0?offset=0&limit=unlikely`, {
    
    method: "GET",
    headers:{'Authorization'
    ...
    See more | Go to post

    Leave a comment:


  • fra1983
    replied to import data into H2 via API
    hello thanks for the suggestions .. I entered the toFixed (2) and it works ... but I can't get just the number. doing a consol log () I get this.
    I honestly don't know how to do it, you can help me



    {$: '2.28'}
    $: "2.28"
    [[Prototype]]: Object
    constructor: ƒ Object()
    hasOwnProperty: ƒ hasOwnProperty( )
    isPrototypeOf: ƒ isPrototypeOf()
    propertyIsEnume rable: ƒ...
    See more | Go to post

    Leave a comment:


  • fra1983
    replied to import data into H2 via API
    yes, I rewrote the code but it not only displays the number but all the json data {"$": 2.2475629277535 063}. I just want the number 2.24
    but not being an expert I don't know how to do it ..
    Code:
    <!DOCTYPE html>
    <html>
    <body>
    <h2 id="demo"></h2>
    <script>
    
      fetch(`https://********************/v0/******************/******************/collections/t_e*******************0?offset=0&limit=unlikely`,
    ...
    See more | Go to post

    Leave a comment:


  • fra1983
    started a topic import data into H2 via API

    import data into H2 via API

    I'm a programming beginner. . Now I'm having a problem that I struggle to solve ... I want to write a numeric data in the H2 tag that I import via API call. I have tried in various ways, making a console log the data exists but it seems that I am wrong something to richamarlo in H2. I seek help in understanding and resolving this error. Thank you

    Code:
    <!DOCTYPE html>
    <html lang="en" dir="ltr">
    ...
    See more | Go to post
No activity results to display
Show More
Working...