Questions tagged [web-services]
A "web service" is a software system designed to support interoperable machine-to-machine interaction over the World Wide Web.
95
questions
2
votes
1
answer
62
views
Production-Readiness Advice for Laravel/ PayPal Integration
I am currently working on integrating PayPal with my Laravel application, and it's my first time incorporating PayPal for production use. I have written the following code and would greatly appreciate ...
5
votes
2
answers
349
views
Tiny Network Web Framework / Library in C++
I recently wrote a tiny network library in C++17 called Turtle on Linux and wish to seek some improvement advice on how to further develop it. Any insights would be appreciated.
Origin: As a student, ...
2
votes
1
answer
134
views
Program for creating custom directory listings
The following code was written to create custom directory listings for the Abyss Web Server. It attempts to provide an improved example of the included documentation for doing so in Python. However, ...
4
votes
2
answers
69
views
Flask static url view
The code runs fine and was manageable without any error handling.
Once I started to handle errors and build out the code the if/elif/else branches quickly became too much. How can I route the view ...
1
vote
0
answers
22
views
processing webhook request coming from a 3rd party application
I need some help to evaluate whether I am doing it right. The scenario is, a 3rd party application is sending a webhook request after a successful payment but the problem is that sometimes this ...
0
votes
1
answer
2k
views
Retrieve filename and ID with Google Drive API in C#
I am trying to retrieve filename and ID list with Google Drive API (the latest Drive API version v3 is used here) as a first step in order to analyze and manipulate these files on Google Drive. The ...
2
votes
2
answers
315
views
Getting metadata from MusicBrainz service
I've written a program which does the following things:
calls third-party utility to get mp3 file fingerprint
asks MusicBrainz IDs from AcoustID service
asks metadata from MusicBrainz for each ID
I'...
8
votes
2
answers
600
views
Microservice that fetches data from REST repository endpoints on Github
I have code in Python 3 where I fetch data from the GitHub API, and I want some advice on the architecture of this code.
...
0
votes
1
answer
130
views
Microservice in Springboot
I wrote two microservices in Springboot and tried to follow the best practices. I would appreciate any suggestions about any improvement that I can make on the whole codebase. What are the parts of ...
2
votes
1
answer
84
views
A program designed to update fields in Service Now depending on type
This is my first attempt at using asyncio, I don't believe I am using it properly and would like assistance using it to maximize efficiency. The current run time is between 20-22 seconds. I would like ...
1
vote
0
answers
105
views
Clean way of passing parameters in swift
I am creating a user request model to pass-params for web service call
toRegisterParams() is used call register web service request
toLoginParams() is used call register web service request
so my ...
3
votes
1
answer
70
views
Callback usage with custom Stack Exchange Flair
Today I decided to continue refining my JavaScript skills and utilized the Stack Exchange API (v2.2) to write a "user flair" replica.
In case you don't know what the flair that SE provides is:
The ...
2
votes
0
answers
108
views
CSRF script in Php
A short script to make a CSRF token to be used in my html elements such as inputs, file-uploads, scripts, iframes & svgs.
...
3
votes
1
answer
95
views
Most efficient way to check if user is allowed to update an object
So I have an user which can create his own Locations.
I implemented a webservice in order to add and update locations. If the user is not the owner of the location i want to throw an appropriate ...
1
vote
1
answer
1k
views
Properly disposing of a WCF connection using IDisposable
This is a follow up question to this question:
https://stackoverflow.com/questions/4573526/what-could-be-causing-a-cannot-access-a-disposed-object-error-in-wcf
I have created a WCF service and it is ...