Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
1 vote
0 answers
86 views

I want to retrieve content from web page. However, I tried above method but the error still come when the query string contain Chinese character. code $json = Get-Content -Encoding utf8 -Path "./...
Akira's user avatar
  • 33
-1 votes
0 answers
63 views

I’m using AWS API Gateway HTTP API v2 with a Lambda function running a Java Spring Boot application The integration type is Lambda proxy integration with payloadFormatVersion: 2.0. Everything works ...
nekatte's user avatar
  • 11
0 votes
0 answers
48 views

Consider this method: import javax.ws.rs.core.UriBuilder; import java.net.URI; public class AnyParamRedirecter { /** * Generate a URI to target.com with one query parameter "...
tkruse's user avatar
  • 10.8k
0 votes
0 answers
85 views

I have an app where users enter WebDav URLs. In some cases, these URLs are properly encoded, but in some cases they are not. String[] testUrls = { // Plain, unencoded ...
Philipp's user avatar
  • 11.7k
0 votes
1 answer
166 views

I’m trying to give users a one-click Add to Google Calendar link using the documente pattern: https://calendar.google.com/calendar/r?cid=\<URL-ENCODED_ICS_URL> However, Google consistently ...
Alexandru Jimbei's user avatar
1 vote
1 answer
124 views

I want to encode url with percent encoding. If the value of query parameter is url type, how can I encode? let urlString = "https://www.google.com/path1?param1=https://www.apple.com/path2?param2=...
strawnut's user avatar
  • 405
0 votes
2 answers
89 views

I have a html form - method="get" is obligatory in my case : <form action="https://websiteurl.com/searchresult" method="get" id="bookingform"> <input ...
Hene's user avatar
  • 1
2 votes
1 answer
122 views

I have an input which is a decoded URL and can contain incorrectly escaped '+' symbols, such as 'http://example.com/path/tofile?query=param+with+questionmark', where '+' symbols should be converted to ...
Prithvi Raj's user avatar
  • 2,201
0 votes
1 answer
37 views

I'm going through a list of URLs that google have tried to index that gives 503. We have fixed a number of these, and I wanted to go through the list to test which are still left. However, I ...
user1015149's user avatar
0 votes
1 answer
302 views

I am trying to submit a PayFast payment using the API tools, in python rather than php (the docs recommended approach). I am generating a signature like so: import hashlib import urllib.parse def ...
user8188120's user avatar
1 vote
0 answers
79 views

The context is for a data URI (now known as data URL) to be dropped into an Apple API. It is not for a data URI that would be consumed by a browser. I am interested in using base91 or base85 to get ...
Andy Dent's user avatar
  • 18.1k
0 votes
1 answer
132 views

We have a web application calling APIs via WSO2 APIM. We have an API that GETs an object by ID. So the URL is something like https://api.example.com/my-api/v1/foo/{id}. This works fine if the ID ...
Adam's user avatar
  • 6,812
0 votes
0 answers
59 views

I want the URL to my German about-me page to be über-mich (German for "about me"): http://www.my-website.de/über-mich This works fine if the filename contains an umlaut: index.php robots....
Ben's user avatar
  • 821
2 votes
0 answers
100 views

I am trying to create a java.net.URI (for use with spring RestTemplate) but I'm given a FULL url and I need to correctly encode things. Every example I see online, including using the Spring ...
user26830288's user avatar
0 votes
2 answers
45 views

I am trying to pass a data model to a server in Android using Retrofit to register user account. When I send the data type of UserData to the server via POST, I get an issue. HTTP 500 stating the ...
Russell Sjoblom's user avatar
0 votes
1 answer
85 views

Physical folder having space: /about us/contactus.php when we enter in browser https://www.example.com/about us/contactus.php It will auto convert URL to https://www.example.com/about%20us/contactus....
Karia's user avatar
  • 1
0 votes
1 answer
139 views

Current state... Each morning, we log into SendGrid, do an advanced search, and export the results. An example of the search (typed as it would appear on the screen)... Dates Between 2025/01/02 - ...
SpicyWings's user avatar
2 votes
1 answer
66 views

When I pass my parameters via Django request.GET I get an extra comma in the dictionary that I do not need. Encoded data that I redirect to the endpoint: /turnalerts/api/v2/statuses?statuses=%5B%7B%...
user24242514's user avatar
0 votes
2 answers
97 views

I'm trying to send a GET request that has bracket characters ('[]', '{}') in the query parameters which makes JMeter (v5.6.3) think I am trying to use globbing. I have been testing my API using ...
P0sitive's user avatar
0 votes
1 answer
188 views

I'm attempting to create a Zsh function on macOS that opens Google Chrome in a new tab. The function should: Open a new blank tab when called without arguments. Perform a Google search when provided ...
Awshaf Ishtiaque's user avatar
0 votes
0 answers
51 views

I am using a php script file "oAuth.php" to handle google and ms oAuth. ms is working very fine. as it passing following example values to return url: https://MyDomain.ext/oAuth.php?code=M....
SalmaBegum's user avatar
0 votes
2 answers
52 views

Payload contains an HMAC tag as well as a nonce for AES. Client-side printing the tag and nonce result in (for example): #tag: b'=x\x9d{_0\xf9;c8\x94inc]\xb1' #nonce: b'\x1f\xf4\xbe\xcc\xf2\x84f\xf2*...
Ryan Farber's user avatar
0 votes
0 answers
61 views

This is a very niche event, which occurred once in over 10,000 submitted filenames. However, the following code generates what looks like an invalid ContentDisposition: var fileName = "...
Party Ark's user avatar
  • 1,187
-2 votes
1 answer
62 views

Use case: I am trying to copy data/everything from my android mobile to laptop on same wifi, maintaining directory structure. I know there are tons of methods, but I love to do it this way (below) and ...
iamsmith41's user avatar
0 votes
1 answer
63 views

I am facing issue when I pass a parameter which contains / in it; the url will assume as separate route and eventually request fails. For example - this is my endpoint: http://domainname/...
Siddhesh Nikam's user avatar
2 votes
1 answer
187 views

I'm trying to validate URLs in JavaScript and according to MDN JavaScript's URL API is compatible with Chromium browsers and Firefox. However the behaviour varies between the two engines. Specifically ...
Florestan Korp's user avatar
2 votes
2 answers
364 views

Recently customers reported that they cannot open our links when we share them on Viber and only on iOS. They get redirected to 404 page. I started checking what is the issue and I noticed that for ...
Alex's user avatar
  • 23
2 votes
2 answers
114 views

I have a form in which the user can enter a string into a textarea. This string will then be used as a query argument in an api call to an external service. The service has a limit for the lenght of ...
Cyclonecode's user avatar
  • 30.4k
0 votes
1 answer
67 views

I've the following string (please pay attention the string has "&") let text = "By submitting, I confirm that I am an American, above 18 yrs of age & residing in America. I have ...
user4150758's user avatar
1 vote
1 answer
461 views

We are using Spring Cloud Gateway (MVC version) in front o a Rails service (let's call it mailbox) and are struggling when the value of a query parameter includes the + (plus) character. Here is an ...
Pedro Galan's user avatar
-3 votes
1 answer
80 views

My compiler is set to be compliant with java 1.8. When I run my code, it works and there are no warnings. When I go to export everything as a runnable jar and execute it, it throws this error: ...
Gambit2505's user avatar
1 vote
1 answer
227 views

This is where I'm doing the encoding before sending the GET request with Axios: const myOrg = await fetchMyOrg(); const response = await api.get<Resp<Asset>>('/asset/assets', { headers: ...
wyc's user avatar
  • 55.7k
1 vote
1 answer
105 views

I have a list of microRNA family names among which some are named in the form of "miR-10-5p". However, some microRNA family names have forward slash in them, e.g., "miR-1-3p/206". ...
V_Vibes's user avatar
  • 13
1 vote
0 answers
323 views

I just recently updated my Spring Cloud Gateway that I use as a proxy to other Microservices to java 21 (upgraded from java 8), Spring 3.2.. (upgraded from 2.7.3) and Spring cloud 2023.0. (upgraded ...
kpolli's user avatar
  • 11
1 vote
1 answer
138 views

I use useLocation to get data from url, first time it worked fine. But when I reload page, string search of location will contain encode string. Is this what the useLocation hook does? first load ...
Gia Huy Nguyễn's user avatar
0 votes
1 answer
94 views

I am trying to get historical Bitfinex candle data via public API endpoint provided bt Bitfinex. Trying to use OkHttp in kotlin but continuesly getting empty result. I guess it is encoding problem but ...
Xokarca's user avatar
  • 31
-1 votes
1 answer
392 views

In my FireMonkey Apps, I can simply add the System.NetEncoding unit to my uses list and then use the TNetEncoding.URL.Encode() and TNetEncoding.URL.Decode() functions, but the System.NetEncoding isn't ...
Shaun Roselt's user avatar
  • 4,361
0 votes
1 answer
103 views

I am having issues with my URL encoder, it is working locally and on stage, but not working on live. I am using filters to get brand names, but some of those brand names have spaces. When I send a ...
Esphi01's user avatar
  • 21
1 vote
0 answers
117 views

I am building an HTTP API in AWS Gateway, and I can't understand how to encode the path parameters. The documentation says API Gateway decodes URL-encoded request parameters before passing them to ...
Paul Draper's user avatar
  • 84.2k
0 votes
0 answers
329 views

I am trying to create something (basically a search engine, more or less), where I can enter a keyword into the search box, and that keyword will be implemented into several predefined URLs, and open ...
J Fav's user avatar
  • 3
0 votes
1 answer
71 views

I see url_encode no longer is available in Werkzeug 3.0. Replacing it with urlencode from urllib.parse won't work with lists e.g. >>> from werkzeug.datastructures import MultiDict >>>...
neurino's user avatar
  • 12.5k
1 vote
1 answer
176 views

I have some files that exist under a directory and its name contains a question mark. I'm trying to replace the ? with %3F (URL encoded ?) but I get a "404 Not Found" response. Numbers in ...
lccv's user avatar
  • 17
1 vote
1 answer
210 views

I converted a Drupal website to a static site using sitesucker (Mac tool). I am running MAMP 6 locally. Some images are missing live, probably because of an encoding issue. For instance, I have this ...
Alex's user avatar
  • 10.3k
0 votes
1 answer
110 views

In angular I have route path as a '/friends/message/:key/:type', for which I have a component MessageComponet for this, I tried path '/friend/messages/NzY4OQ==/inbox' ideally, it should navigate me to ...
Harshada Jagtap's user avatar
1 vote
1 answer
199 views

In my angular project i have a route as a path: 'friend/messages/:encryptedKey/:type', component: EncryptedRouteComponent, canActivate: [AuthGuard], , path: '**', component: ...
Harshada Jagtap's user avatar
0 votes
1 answer
100 views

Consider the first "Operator Modifiers" example from https://postgrest.org/en/stable/references/api/tables_views.html#operator-modifiers: curl "http://localhost:3000/people?last_name=...
bugmenot123's user avatar
  • 1,190
0 votes
1 answer
385 views

I'm struggling to correctly encode/decode a JSON string for sending via query string in a GET request. <html> <head> <script type="text/javascript"> ...
Alexander Tobias Bockstaller's user avatar
0 votes
1 answer
304 views

I am sending SMS using TextLocal.in API but this is how it looks because of line breaks in my SMS template. It looks like this: Please take a look at the contents of the $message variable. If I even ...
RedStar Entertainment's user avatar
0 votes
4 answers
860 views

How can I urlencode a UInt8Array in JavaScript? using encodeURIComponent does not work, for example with encodeURIComponent((new Uint8Array([72,101,108,108,111,32,87,111,114,108,100]))); I expected: ...
hanshenrik's user avatar
  • 22.4k
-1 votes
2 answers
107 views

There is a Java, Spring, Tomcat webapp. One part is responsible for sending activation emails to the newly created users with generated activationUrls (consisting of unique tokens). The email is ...
DelphyM's user avatar
  • 378

1
2 3 4 5
70