3,417 Topics
![]() | |
## Introduction ## Based on the 2020 Java Ecosystem survey from Jetbrains, 75% of Java developers are still using JDK 8. JDK 11 introduces `HttpClient`, which replaces the legacy `HttpURLConnection` API. For this tutorial, we will build a `HttpClient` that consumes the free Cat Facts API. ## Goals ## At … | |
## Introduction ## This tutorial teaches you how to implement the Type-safe Builder pattern using Kotlin. This pattern allows developers to create declarative and concise DSLs. Our implementation will be a Burger Builder that enables our users to create Burger objects expressively. ## Goals ## At the end of the … | |
## Introduction ## This tutorial teaches you how to create a Spring Boot application that provides RESTful API Endpoints. These endpoints are best consumed by other applications or for integrating with a SPA (Single Page Application) frontend such as Angular. For the purpose of this tutorial, we will create a … | |
Created a stored procedure as REST web service and return values as 1 and how to consume in Client applciation in c#. please help me how to send parameters through HTTP POST uisng HTTP client . | |
So, I’m trying to capture and store wave height data and cache it in a file based on the fetch timestamp in local time. I have hit an error with the last section. Here is the error - d = sorted(data['hours'], key=lambda i: i['time']) TypeError: list indices must be integers … | |
I want connect microsoft sql server database using servername,username,password,port number and service name to asp.net api 2019. This code segment I'm using SqlConnection con = new SqlConnection(@"server=10.d.13.2q0; database=sdssdsd; Integrated Security=False; User ID=lmgdgdfdfddgs; Password=sdsdsdsds"); please help me. what is the correct code | |
I hope someone can understand my question and offer some help. I am creating a Flight Booking application with Amadeus APIs. I have a flight search form on the index page with hbs template engine. The form submits to /auth/flights for processing. I then want to display all error in … | |
I have my resoruces stored in mysql DB: eg : > |IPaddress | Status| |10.x.x.x| yes| |10.1.x.x| yes| I am trying to get the available resource and after that will update DB with status No. > query = ("SELECT IPaddress from TABLE where status='yes'") cursor = mydb.cursor() cursor.execute(query) result=cursor.fetchall() query1 … | |
Hello DaniWeb Community, I am a newbie in PHP, but I tried to create a plugin for my CRM platform using API to get informations, but I get some errors: **Notice: Undefined index**. [Click here for an image with the errors.](https://i.gyazo.com/6926d234978766542f544ed1e31e465c.png). Here are the lines where I got the errors: … | |
Hi guys, I'm having a weird problem regarding the simple ListView. On my emulator everything is allright and the data is loaded correctly from JSON API, the data also loads on my device. The problem is that on my emulator, the listview is populated but on my real device, not, … | |
Hello, I am creating an app that will list the recent govt job openings. For this, I am looking for some solution that can give me updates for jobs. I know there is no such API available that could do this job. I am thinking to scrape some websites that … | |
Hi community, I developed the prototype of a web app that helps you to create custom design Stripe forms without coding. It does not require any front-end or back-end development. Just pick a template, customize its look, add Stripe API keys, paste the generated code into your page, add products … | |
Hello. I noob programing. I need extracting "ALGARROBO" and put in variable in JS. <select> <option value="0560200101">ALGARROBO</option> <option value="0760200601">CALIFORNIA</option> "" "" "" +70 options </select> Someone would be so kind to give me the js code? It is not possible to change the "value", since that information goes to api … | |
Hey, I would need some help. I use Facebook API to get all the Ad Campaigns that exist on my account. I would want each ad campaign that exists, to print out seperatly, one ad campaign per box for example (https://emildeveloping.se/screenshots/POWERPNT_JcaaOq2NXx.png). This is my code now: https://pastebin.com/HAjSD6Nr This is the … | |
Hello everyone! I ran into a problem that when calling the API, its response comes after the code was processed and I get undefined in the response. For this, I have 2 files start.js and api.js. In start.js I call api.js and wait for a response: `const api = require("./api"); … | |
Hi! I have used Google translate web API many times in my java applications for dynamic translation into different languages (e.g printing a receipt in Hindi,Urdu or French Language.) But now I want an API or Jar file to translate text to different languages Offline. I have searched a lot … | |
What "Hello World" is to the console, the "Bouncing Ball" is to the Graphical User Interface. Nothing fancy, the ball is created via a call to the API function ellipse() and then bounced within the confines of the windows form. For the DEV C++ crowd: Let me know if you … | |
I'm struggling to upgrade from [CodeMirror 5.5](https://codemirror.net/) to [CodeMirror 6](https://codemirror.net/6/). Previous versions of CM have always been a drop-in Javascript library. Upload the JS files, upload the CSS file, include a `<script>` tag referencing the JS file, and then use the API to make a bunch of calls to incorporate … | |
how to handle nested object with map for display on flatlist or text or other component at react native. i tried to display using text and flatlist but didnt work, i want to display like this  this is my code, can anyone help me const Schedule = () => … | |
Hello there! Im an NodeJs instructor. Iam an experienced Crash course instructor. Marina is my student. She has to access my API. I have only the CPANEL hosting. How do i host NodeJS in Cpanel. Kindly help. Waiting for your feedback. Please help. Urgent Best Regards Lakshmi Swaminathan | |
When I access an api. it returns data in below format **n2035014,25 N2035014,25 B2035014,2944.40,250,3787.30,2400** o24,22971.20 h24,23064.15 l24,22641.40 c24,22945.05 i24,22744.40 I am clueless how to map these data and store in mysql table. First set of data highlited in bold is dataset 1, followed by second set of data which has … | |
Hello i want to display the values of this api response. Like this Producer: Simon Writer: Simon person1: [[{value: "Producer: Simon"}, {value: "Writer: Simon"}]] 0: [{value: "Producer: Simon"}, {value: "Writer: Simon"}] 0: {value: "Producer: Simon"} 1: {value: "Writer: Simon"} I tried this but i am getting `{}` <div *ngFor="let media1 … | |
I have called Rest API using powershell function but i need to get date entry from all objects like english-and-wales, scotland , northern ireland. using this $list.'england-and-wales'.events.date i will get only england-and-wales details but remaining scotland, northern ireland date i am unable to fetch function Get-Holiday Invoke-RestMethod -Method Get -Uri … | |
Posting this to test the software which has the access of Open API | |
Hello, I'm seeking some suggestions for the issue below: Suppose I have multiple CSV files which including header. ID,NO,Date 1,200,2020-02-03 ........................... ........................... ......................... How can I process the CSV files so that each line of one CSV file will map to one object and then send N objects to an … | |
Dear Friends, I have a web API I developed using asp.net c# with uri "https://www.xxxxxxx.com:82/api/pincheck" with the function called "getuser". I want to use this API to authenticate login to an android App. I am building the app using Android Studio One. The user enters a six digit pin, the … | |
I want a secured and server side way of interacting with two different servers namely SERVER A and SERVER B and i want database details and queries done on server B without reveling this database details to server A but yet server A functions based on responses it got from … | |
Hello. I am making a database using SQLite. Then I need to make an API with functions that returns information about that database. Then I need to print out a report. However, when I try to return an answer to a query using inputs, nothing is returned. I either get … | |
i am making api in PHP but i have some problems with cors(preflight) i know how the cors works, my problem is when i request the data from api with (fetch api) i get the response from the server(api) but it suppose to also send cookie for authentication purposes but … | |
We had a bug a little while back where we were accessing an old database for the GeoIP API. That meant that, for users whose geolocation were mapped from their IP address, it was incorrect/unknown for IP subnets not in the database. Now, 1-2 years later, can we go back … | |
Hi, I am wonder if Flutter is the right choice for Mobile begginer. I have a lot of web experience but I would like to create simple mobile app on API that already exist. I try with Ionic 3 but it was not working corecly with GraphQL API. Thank you … | |
how to create api using without rest libirary in codigniter | |
How can I use jQuery's [.stop()](https://api.jquery.com/stop/) to stop *all* animations and not just for one specific selector. In my use case, I don't know the element being animated. Does this function bubble? Can I do something like `$(document).stop(true, false);` ?? | |
I am not in the developer world but I'm trying to nail down some details related to a potential project I'm considering. I'm seeking some guidance to better understand what information is offered through travel companies' APIs (Delta, United, Hilton, etc.), which would ultimately be a big driver of the … | |
good afternoon, I have been trying to use "login with facebook" on my website for 15 days. I have been using the code published by Facebook, at the link https://developers.facebook.com/docs/facebook-log... web / v2.2. My problem with this code is that I want the customer after login with his facebook (through … | |
I'm new to tkinter so i used a template tkinter code to have multiple page windows each page is in a different class, i thought diving in will make me learn better and it has, and also special thanks to stackoverflow. the kiosk app is all fullscreen, the start is … | |
I want to make a function in ReactJS which can read values from multi layer JSON file (http://latamdscmtrg03:4001/api/get/?dbtype=oracle&servername=LATAMDSCMTRG03&username=SCPOMGR&pwd=scpomgr&port=1521&sid=JDAS&sqlquery=SELECT%20*%20FROM%20UDT_PROMPT_VIEW) | |
Hello everone my name is reidho i have a problem with my code, i want to mirroring a api output from somesite using file_get_contents but the results is not like the original. Original Result :  My Mirroring Result :  The Code : $ping = "https://api.hackertarget.com/nping/?q=8.8.8.8"; $pingkeluar = file($ping); … | |
How do I make a cube in javafx that have 6 different textures on each side of the cube? The only way I know how to solve this, is by making 6 imageviews and give them each a specific coordinates that make them look like a cube. Is there a … | |
hi, In my android studio build gradle is failed i dont know how so then i check the log and i saw this error Error:Could not find method compile() for arguments [com.android.support:recyclerview-v7:25.3.1] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. Please install the Android Support Repository from the Android SDK Manager. Open Android … | |
Hi, I have an idea of building an API for **Machine-to-machine payments.** The API will enable to assign wallets to connected devices, record available amounts of something valuable, as well as all incoming and outgoing movements of value. Would love to hear back from developers who are seeking to address … | |
hi, In my android studio build gradle is failed i dont know how so then i check the log and i saw this error Error:Could not find method compile() for arguments [com.android.support:recyclerview-v7:25.3.1] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. Please install the Android Support Repository from the Android SDK Manager. Open Android … | |
Hi, I need advice on how to implement a Review Management System. Something like realized on mypresences.com or brightlocal.com Not all services allow you to interact with their API. Review services are productreviews, trustpilot, tripadvisor, whirlpool, wordifmouth, seek, indeed, glassdoor. Maybe you now a script or have an offer how … | |
Hi, While I have some basic js coding skills and a few APIs uses in the past, I get stuck with one because it basically contains 3 calls. All async. Step 1 is pushing a file to the service and get back an ID in return. Step 2 is requiring … | |
I want to create a price-comparison website/web application and join affliate programs.My problem is, when I want to join for a company's affliate program,seems like every company asks for my website. How can I create a price-comparison website if I am not an affliate of any company?Can I create a price-comparison … | |
I am developing an app to android and ios, which purpose is get directions to a certain clicked marker (point) in the map. So, I am using the Google Maps API with node.js, and I have the data from the points stored in a MongoDB. I've been serching but I … | |
I have been at this for weeks and I am able to get most of the errors cleared on my own. I am stuck on these errors and I am unable to find out what is really wrong and going on. I am still pretty new at this. The code … | |
I have a search script that a user may search persons etc. I want to display a message if what he or types doesn't exist in the array. By default, I display some results and it displays the desired person when one writes on searchbar. but I want to show … | |
I have a leaflet.js map on a Bootstrap web page. On first view of the page the map doesn't show, but on resize it shows. Can anyone suggest a fix for this? This is my code. html <div id="mapid"></div> css <link rel="stylesheet" href="https://unpkg.com/leaflet@1.5.1/dist/leaflet.css" integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" crossorigin=""/> #mapid{ height: 500px; width: 100%} … | |
At the risk of making a total fool of myself... I got very excited when I discovered that Java's "only opaque rectangular windows" limitation has been removed. Full release is intended for Java 7, but working methods can be accessed thru com.sun.awt.AWTUtilities in recent releases of Java 6 (I'm using … |
The End.